package com.example.gzysmartcity.repository.model;

import java.util.List;

public class SCNews {
    /**
     * status : 200
     * message : SUCCESS
     * data : [{"id":1,"SCNewsTypeId":8,"name":"超级大潮侵袭美国加州海岸 冲浪者与巨浪勇敢搏斗","content":"<p","createTime":1605344160,"author":"中国军网"}]
     */

    private int status;
    private String message;
    /**
     * id : 1
     * SCNewsTypeId : 8
     * name : 超级大潮侵袭美国加州海岸 冲浪者与巨浪勇敢搏斗
     * content : <p
     * createTime : 1605344160
     * author : 中国军网
     */

    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private int id;
        private int SCNewsTypeId;
        private String name;
        private String content;
        private int createTime;
        private String author;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getSCNewsTypeId() {
            return SCNewsTypeId;
        }

        public void setSCNewsTypeId(int SCNewsTypeId) {
            this.SCNewsTypeId = SCNewsTypeId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getCreateTime() {
            return createTime;
        }

        public void setCreateTime(int createTime) {
            this.createTime = createTime;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }
    }
}
